package priv.lhy.securitydemo.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import priv.lhy.securitydemo.entity.Authorities;

import java.util.List;

/**
 * @author: lihy
 * date: 2019/10/5 9:56
 * description:
 */
@Mapper
public interface AuthorityDAO {

    int insertAuthorities(@Param("list") List<Authorities> list);

    List<Authorities> getAuthorities(@Param("username") String username);
}
